package cn.driver.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.driver.domain.Student;
import cn.driver.domain.Teacher;
import cn.driver.utils.MD5Util;

public interface TeacherMapper {
	//根据手机号查学员
	Teacher selectStudent(String id);
	//添加学员
	void registStudent(@Param("name")String name,
			@Param("id")String id,
			@Param("phone")String phone,
			@Param("age")Integer age,
			@Param("gender")String gender);
	//遍历学生信息
	List<Teacher> studentInfo();
	//模糊查询
	List<Teacher> searchInfo(@Param("Info")String Info);
	//删除学员
	void deleteStu(String id);
	void updateStu(@Param("info")String info,
			@Param("name")String name,
			@Param("id")String id,
			@Param("phone")String phone,
		 @Param("age")Integer age,
			@Param("gender")String gender);
	
}
